package com.oauth.service.global;

import java.util.List;

import com.oauth.service.global.beans.Birthday;
import com.oauth.service.global.beans.OAuthAccessToken;
import com.oauth.service.global.beans.OAuthRequestToken;

/**
 * Used by each application to register their service.
 * 
 * @author asanthan
 * 
 */
public interface ApplicationGlobalService {

	boolean updateStatus(Long pMemberId, String pStatusText);

	List<Birthday> getUpcomingBirthdays(Long pMemberId, int pBirthdayInterval);

	/**
	 * @param applicationId
	 * @return
	 */
	OAuthRequestToken getRequestToken();

	/**
	 * @param applicationId
	 * @return
	 */
	OAuthAccessToken getAccessToken(OAuthRequestToken requestToken);

}
